home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / pm65sdk / sourcecode / pagemakerclasslibrary / commands / pbox.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-15  |  664 b   |  25 lines

  1. /*
  2.  *--- PBox.cpp ------------------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 3:53 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PBox.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PBox.h"
  12. #include "PCommand.h"
  13.  
  14. PBox::PBox(long xLeft, long yTop, long xRight, long yBottom)
  15. {
  16.     long x[4];
  17.     x[0] = xLeft;
  18.     x[1] = yTop;
  19.     x[2] = xRight;
  20.     x[3] = yBottom;
  21.     PCommand command(pm_box, x, 4 * sizeof(long));
  22. }
  23.  
  24. // end of PBox.cpp
  25.